package com.srabbit.betafan.util;


public class HttpResponse {

	private int responseCode;
	private String body;

	public int getResponseCode() {
		return this.responseCode;
	}

	public void setResponseCode(int responseCode) {
		this.responseCode = responseCode;
	}

	public String getBody() {
		return this.body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append("responseCode=[").append(responseCode).append("];");
		sb.append("body=[").append(body.substring(0, 10)).append("...]");
		return sb.toString();
	}
}
